﻿IF OBJECT_ID(N'[dbo].[MigrationHistory]') IS NULL
BEGIN
    CREATE TABLE [dbo].[MigrationHistory] (
        [MigrationId] nvarchar(150) NOT NULL,
        [ProductVersion] nvarchar(32) NOT NULL,
        CONSTRAINT [PK_MigrationHistory] PRIMARY KEY ([MigrationId])
    );
END;
GO

BEGIN TRANSACTION;
GO

CREATE TABLE [Account] (
    [Id] int NOT NULL IDENTITY,
    CONSTRAINT [PK_Account] PRIMARY KEY ([Id])
);
GO

CREATE TABLE [Business] (

);
GO

INSERT INTO [dbo].[MigrationHistory] ([MigrationId], [ProductVersion])
VALUES (N'20220506091228_Init', N'6.0.4');
GO

COMMIT;
GO

